﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;

namespace OnlineBusTicket
{
    public partial class ChangePasswords : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack == false)
            {
                //string userName = HttpContext.Current.User.Identity.Name;
                //ChangePassword1.UserName = userName;
              

            }
        //    if (IsPostBack == false)
        //    {
        //        MembershipUser u=Membership.GetUser(HttpContext.Current.User.Identity.Name);
        //        ChangePassword1.UserName = u.UserName;

        //    }
        //    var user = Membership.GetUser();
        //    string username = user.UserName;
        }
    }
}